﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace RN.ERP.Web.PersonChange
{
    public partial class PersonChangeInfo : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                Initial();
            }
        }
        /// <summary>
        /// 取得参数
        /// </summary>
        private void Initial()
        {
            Guid empGuid = Guid.Empty;
            if (Request.QueryString["objectId"] != null)
            {
                Guid.TryParse(Request.QueryString["objectId"], out empGuid);
            }
            hdEmpGuid.Value = empGuid.ToString();
            if (Request.QueryString["corpName"] != null)
            {
                lblCorpName.Text = Request.QueryString["corpName"];
            }
            if (Request.QueryString["objectName"] != null)
            {
                lblempName.Text = Request.QueryString["objectName"];
            }
       
        }
    }
}